package cn.mygweb.web.pojo;

import java.io.Serializable;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/** 
* <p>Title: Resource.java</p>
* <p>Description: 资源文件配置类</p>  
* @author gxb 
* @date 2019年5月19日 
* <p>Copyright: Copyright (c) 2019</p>
* <p>Company: www.mygweb.cn</p> 
*/
@Configuration
@PropertySource(value="classpath:resource.properties")
@ConfigurationProperties(prefix="cn.mygweb.pojo.web.resource")
public class Resource implements Serializable{

	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = 9190326207260450479L;
	private String name;			//名称
	private String website;			//网址
	private String language;		//编程语言
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getWebsite() {
		return website;
	}
	public void setWebsite(String website) {
		this.website = website;
	}
	public String getLanguage() {
		return language;
	}
	public void setLanguage(String language) {
		this.language = language;
	}
	@Override
	public String toString() {
		return "Resource [name=" + name + ", website=" + website + ", language=" + language + "]";
	}	
	
}
